package com.dp.mallchat.common.user.service;

import com.dp.mallchat.common.user.domain.user.entity.Role;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dp.mallchat.common.user.domain.user.enums.RoleEnum;

/**
 * <p>
 * 角色表 服务类
 * </p>
 *
 * @author <a href="https://gitee.com/baiDP">adu</a>
 * @since 2024-06-13
 */
public interface RoleService extends IService<Role> {

    boolean hasPower(Long uid, RoleEnum admin);
}
